package com.woniuxy.commons.service;

import com.woniuxy.commons.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "AUTH")
public interface AuthService {
    //鉴权
    @GetMapping("/user/indent/{uname}/{perms}")
    public ResponseResult<Boolean> identification(@PathVariable("uname") String uname, @PathVariable("perms") String perms);
}
